package edu.cuit.avatar.annotations;

import java.lang.annotation.*;

/**
 * 用于标识数据表标识列(主键列)
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/26 14:14
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
@Documented
public @interface TableId {
    String name() default "";
    IdGenerateStrategy strategy() default IdGenerateStrategy.AUTO_INCREMENT;
}
